#include "stdafx.h"
#include "ItemList.h"

ManagedItemList::ManagedItemList()
{
	m_vItemVector = gcnew System::Collections::Generic::List<ManagedItem^>;
	m_szItemFilePath = System::IO::Path::GetDirectoryName(System::Reflection::Assembly::GetExecutingAssembly()->CodeBase);
}

ManagedItemList::~ManagedItemList()
{
	delete m_vItemVector;
}

Void ManagedItemList::add_Item(ManagedItem^ temp)
{
	m_vItemVector->Add(temp);
}

Void ManagedItemList::remove_Item(int index)
{

	m_vItemVector->Remove(m_vItemVector[index]);
}